import {UserStatus} from '../common/constants';

export class UserDto {
  userId: string;
  userName: string;
  flag:number;
  admin:number;
  userType:number;
  errorCount:number;
  status: UserStatus;

  constructor({ userId, userName, flag, admin, userType, errorCount, status }) {
    this.userId = userId;
    this.userName = userName;
    this.flag = flag;
    this.admin = admin;
    this.userType = userType;
    this.errorCount = errorCount;
    this.status = status;
  }
}
